import { Slider as AntdSlider } from 'antd';
import type { SliderRangeProps, SliderSingleProps } from 'antd/lib/slider';
import React from 'react';

export type SliderProps = SliderSingleProps | SliderRangeProps;

function Slider(props: SliderProps) {
  return <AntdSlider {...props} />;
}

export default Slider;
